<script>
onload = function() {
    document.execCommand('selectAll');
    selection = document.getSelection();
    selection.deleteFromDocument();
}
</script>
<textarea autofocus >
text
text2
text3</textarea>
<iframe srcdoc="foo"></iframe>
